package com.qqtech.qquan.order.model;

import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class OrderPayLog extends BaseDomain {

	// columns START
	/** 对应系统的订单号 */
	private java.lang.String orderNo;
	/** 支付交易号 */
	private java.lang.String tradeNo;
	/** 支付的用户id(对应系统的userId) */
	private java.lang.Integer payUserId;
	/** 支付人(email)账号 */
	private java.lang.String buyerEmail;
	/** 支付人Id */
	private java.lang.String buyerId;
	/** 支付额度 */
	private BigDecimal value;
	/** 支付方式PayWayEnum:1-圈币;2-支付宝;3-微信;4-余额 */
	private java.lang.Integer payWay;
	/** 付该笔款时使用的商家允许的支付额度(商家让利) */
	private BigDecimal shopDiscountValue;
	/** 付该笔款时商家允许的优惠支付比例 */
	private BigDecimal shopDiscountRate;

	// columns END
	public OrderPayLog() {
	}

	public OrderPayLog(java.lang.Integer id) {
		this.id = id;
	}

	public void setOrderNo(java.lang.String orderNo) {
		this.orderNo = orderNo;
	}

	public java.lang.String getOrderNo() {
		return this.orderNo;
	}

	public void setTradeNo(java.lang.String tradeNo) {
		this.tradeNo = tradeNo;
	}

	public java.lang.String getTradeNo() {
		return this.tradeNo;
	}

	public void setPayUserId(java.lang.Integer payUserId) {
		this.payUserId = payUserId;
	}

	public java.lang.Integer getPayUserId() {
		return this.payUserId;
	}

	public void setBuyerEmail(java.lang.String buyerEmail) {
		this.buyerEmail = buyerEmail;
	}

	public java.lang.String getBuyerEmail() {
		return this.buyerEmail;
	}

	public void setBuyerId(java.lang.String buyerId) {
		this.buyerId = buyerId;
	}

	public java.lang.String getBuyerId() {
		return this.buyerId;
	}

	public void setValue(BigDecimal value) {
		this.value = value;
	}

	public BigDecimal getValue() {
		return this.value;
	}

	public void setPayWay(java.lang.Integer payWay) {
		this.payWay = payWay;
	}

	public java.lang.Integer getPayWay() {
		return this.payWay;
	}

	public BigDecimal getShopDiscountValue() {
		return shopDiscountValue;
	}

	public void setShopDiscountValue(BigDecimal shopDiscountValue) {
		this.shopDiscountValue = shopDiscountValue;
	}

	public BigDecimal getShopDiscountRate() {
		return shopDiscountRate;
	}

	public void setShopDiscountRate(BigDecimal shopDiscountRate) {
		this.shopDiscountRate = shopDiscountRate;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
	}
}
